hi, beginner issue with socat [closed]
Posted
by
ams
on Server Fault
See other posts from Server Fault
or by ams
Published on 2012-11-16T21:26:16Z
Indexed on
2012/11/16
23:02 UTC
Read the original article
Hit count: 213
socat
the main question is how to begin sending request to server with some data(send request with number) and get data from server??
and second question is how can i solve this simple question (author said) ?
In this part, you should write a simple Shell script which receives URL of a website by sending your student
number to a server and after creating and sending HTTP request for this URL, receives the desired
content. Finally the content should be saved in an HTML file.
Steps
1. Connect to port 4000 of the server and send the massage which includes your student
number (e.g. 89207704) to the server.
Receive the URL in the form of http://www.example.com.
Create the HTTP request and send it to the website's server.
Receive the content of the URL from the website.
Save the content in the HTML file. what i can do? how i begin? thank u all the topology that exercise is speaking about is here
Is there any easy way to do this?
© Server Fault or respective owner